org.eclipse.vtp.framework.engine.runtime
Class Process.Context

java.lang.Object
  extended by org.eclipse.vtp.framework.engine.support.AbstractReporter
      extended by org.eclipse.vtp.framework.engine.support.AbstractLogger
          extended by org.eclipse.vtp.framework.engine.support.AbstractContext
              extended by org.eclipse.vtp.framework.engine.support.AbstractProcessContext
                  extended by org.eclipse.vtp.framework.engine.runtime.Process.Context
All Implemented Interfaces:
IContext, ILogger, IProcessContext, IReporter
Enclosing class:
Process

protected final class Process.Context
extends AbstractProcessContext

Implementation of the generic context.

Author:
Lonnie Pryor

Field Summary
 
Fields inherited from class org.eclipse.vtp.framework.engine.support.AbstractProcessContext
descriptor, providedServiceIdentifiers, RESERVED_SERVICE_IDENTIFIERS
 
Fields inherited from interface org.eclipse.vtp.framework.core.IReporter
SEVERITY_DEBUG, SEVERITY_ERROR, SEVERITY_INFO, SEVERITY_WARN
 
Method Summary
protected  java.lang.Object[] lookupAllLocalServices(java.lang.String identifier)
          Returns all the services registered under the specified identifier in this registry or null if no such services can be found.
protected  java.lang.Object lookupLocalService(java.lang.String identifier)
          Returns a service registered under the specified identifier in this registry or null if no such service exists.
 
Methods inherited from class org.eclipse.vtp.framework.engine.support.AbstractProcessContext
doReport, getProcessID, getProperty, isSeverityEnabled, loadClass, lookupReservedService
 
Methods inherited from class org.eclipse.vtp.framework.engine.support.AbstractContext
lookup, lookupAll, lookupAllInheritedServices, lookupInheritedService
 
Methods inherited from class org.eclipse.vtp.framework.engine.support.AbstractLogger
debug, debug, debug, debug, doLog, error, error, error, error, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, log, log, log, warn, warn, warn, warn
 
Methods inherited from class org.eclipse.vtp.framework.engine.support.AbstractReporter
report, report, report, report
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.vtp.framework.core.IContext
lookup, lookupAll
 
Methods inherited from interface org.eclipse.vtp.framework.core.ILogger
debug, debug, debug, debug, error, error, error, error, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, log, log, log, warn, warn, warn, warn
 
Methods inherited from interface org.eclipse.vtp.framework.core.IReporter
report, report, report, report
 

Method Detail

lookupLocalService

protected java.lang.Object lookupLocalService(java.lang.String identifier)
Description copied from class: AbstractContext
Returns a service registered under the specified identifier in this registry or null if no such service exists.

Overrides:
lookupLocalService in class AbstractProcessContext
Parameters:
identifier - The identifier of the service to return, will never be null.
Returns:
A service registered under the specified identifier in this registry or null if no such service exists.

lookupAllLocalServices

protected java.lang.Object[] lookupAllLocalServices(java.lang.String identifier)
Description copied from class: AbstractContext
Returns all the services registered under the specified identifier in this registry or null if no such services can be found.

Overrides:
lookupAllLocalServices in class AbstractProcessContext
Parameters:
identifier - The identifier of the services to return, will never be null.
Returns:
All the services registered under the specified identifier in this registry or null if no such services can be found.